resource "google_dialogflow_agent" "basic_agent" {
  display_name = "example_agent"
  default_language_code = "en"
  time_zone = "America/New_York"
}

resource "google_dialogflow_intent" "<%= ctx[:primary_resource_id] %>" {
  depends_on = [google_dialogflow_agent.basic_agent]
  display_name = "<%= ctx[:vars]["intent_name"] %>"
}